<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>

        document.write("你好我是内容")
        document.write("<h1>我是标题<h1>")
        console.log("打印日志")
        console.log("日志")

        let x = prompt("请输入你的年龄")
        alert(x)
    </script>
</body>
</html>